﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPIS.GERP.GBMS.MODEL;

namespace KPIS.GERP.GBMS.DAL
{
    public interface IExpenseDAL
    {
        int Insert(ExpenseInfo expInfo);

        int Update(ExpenseInfo expInfo);

        void Delete(int seq);

        IList<ExpenseInfo> Search(ExpenseInfo expInfo);

        IList<TreeViewInfo> TreeView(IList<TreeViewInfo> treeView, bool isRootNode, ExpenseInfo expInfo);

        bool CheckDuplicateCode(string code);
    }
}
